LUA SET FLOAT

With this command, you can set a float via the LUA interface.
Global floats can also be specified in a file simply by assigning a number to a named variable. e.g: percent = 0.33
After the file has been loaded by LUA, you can access this global number (float) by using result#=LUA FLOAT("percent").
Note that in LUA every number is treated as a double value, no matter if you assign a decimal or an integer number.

You can also set the float field of a table, or even a nested table. You need to seperate the table-names in the argument string you provide with a ".", like: "parent.child"

SYNTAX
LUA SET FLOAT index_name as String, fvalue as Float

RELATED INFO
LUA command menu
Index

EXAMPLE
Showcase-example 1
Showcase-example 2